/*!
 *  \file       test-gauss.cpp
 *  \brief      Main per testare un segnale di tipo gaussiano
 *
 *  \author     Davide Scola <S2299453@studenti.unige.it>
 *  \author		Minetti Alberto <S3064777@studenti.unige.it>
 *  \version    1.0
 *
 */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif

#include <iostream>
#include "ISignalGenerator.hpp"	
#include "GaussianSignalGenerator.cpp"
#include "InputSignal.cpp"
#include "WrapNumber.cpp"
#include "RealNumber.hpp"


using namespace std;


int
main( void )
{
  GaussianSignalGenerator< RealNumber > generator( RealNumber( 0 ), RealNumber( 0.1 ), INPUT_SIZE );
  InputSignal< RealNumber > input( INPUT_SIZE, generator );
  
  cout.precision( 12 );
  
  for( unsigned int i = 0; i < input.size(); i++ )
  {
    cout << i << " " << ( i + input.size() / 2 ) % input.size() << " "
	<< input[i] << endl;
  }
  
  return 0;
}
